package cn.edu.scau.dormitory_management_system.dao;

import cn.edu.scau.dormitory_management_system.entity.BedEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author wanglingfu
 * @email 1006340605@qq.com
 * @date 2021-08-02 14:35:10
 */
@Mapper
public interface BedDao extends BaseMapper<BedEntity> {
    int insertBed(@Param("dormId")int dormId,@Param("list")List<String> list);
    BedEntity getByDormId(@Param("dormId")int dormId);
}
